# class Student:
#
#     def __init__(self,name,age,tel):
#         self.name = name
#         self.age = age
#         self.tel = tel
#
# stu = Student("ddd",21,"98765431")
# print(f"{stu.name},{stu.age},{stu.tel}")

class Student:

    def __init__(self,name,age,address):
        self.name = name
        self.age = age
        self.address = address
for num in range(1,11):
    print(f"当前录入第{num}位学生信息，总共需录入10位学生信息")
    stu = Student(input("请输入学生姓名："),input("请输入学生年龄："),input("请输入学生地址："))
    print(f"学生{num}信息录入完成，信息为：【学生姓名为：{stu.name},年龄：{stu.age},地址:{stu.address}】")
